package com.xx.service;

import com.xx.entity.Role;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

public interface RoleService {
    List<Role> selectAll();

    @Transactional
    Role selectById(int id);

    public void save(Role role);
    public void deleteById(int id);
}
